package com.project.service.base.message;

import com.taobao.api.TaobaoClient;
import com.taobao.api.request.AlibabaAliqinFcSmsNumSendRequest;

/**
 * 消息相关服务：发送短信等
 *
 * Author: TAO
 * Date: 2016/6/30
 * Time: 15:15
 */

public interface MessageService {
    TaobaoClient getTaobaoClient();
    AlibabaAliqinFcSmsNumSendRequest getAlidayuRequest(String phone, String code, String product, Integer expireMinute, String smsSignName, String smsTemplate);

    boolean sendSmsCode(String phone, String code, String smsTemplate);
}
